<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<?php 
	//echo $_REQUEST["id"];
	//$list = $this->getContent($_REQUEST["id"])->getData();
	$favs = $this->getFavs()->getData();
?>
<!--页面主体-->
<div class="kf-gj">
	<div style="height:45px;"></div>
	<div class="kf">
		<div class="fl kf-left">
			<div><img src="images/guild.jpg" /></div>
			<div class="ml10">
				<div class="kf-square"></div>
				<p class="kf-title"><span id="sysSubText"></span></p>
				<div class="container">
					
				</div>
				<div class="kf-square"></div>
				<p class="kf-title">在线预订</p>
				<p class="mt10">入住时间</p>
				<p class="mt5">
					<input type="text" onClick="WdatePicker()" class="index-df-input " />
				</p>
				<p class="mt10">退房时间</p>
				<p class="mt5">
					<input type="text" onClick="WdatePicker()" class="index-df-input" />
				</p>
				<div class="mt10">
					<p>选择房型</p>
					<p class="mt5">
						<select class="index-df-input" >
							<option>单人间</option>
							<option>双人间</option>
						</select>
					</p>
					<p class="mt10">
						<input type="checkbox" />
						<span class="ml5">使用会员积分</span></p>
					<p class="mt10">
						<center>
							<a href="reservationSystem.php" ><button>立即预定</button></a>
						</center>
					</p>
					<p>想获得更多优惠，请<a class="c-t-c" href="#" id="register" style="text-decoration: underline;">加入青城会。</a></p>
				</div>
			</div>
			<div class="mt20 mb10"><img src="images/bj-bk.png" /></div>
			<div class="ml10">
				<div class="kf-square"></div>
				<p class="kf-title">官方微博</p>
				<p class="mt5"><a href="#" class="ml35"><img src="images/1.png" /></a><a class="ml20" href="#"><img src="images/2.png" /></a><a class="ml20" href="#"><img src="images/4.png" /></a></p>
			</div>
			<div class="mt20 mb10"><img src="images/bj-bk.png" /></div>
			<div class="ml10">
				<div class="kf-square"></div>
				<p class="kf-title">联系我们</p>
				<div class="kf-phone">
					<p>预订热线</p>
					<p><i class="f20">86-028-8719-78677</i></p>
					<p>电话：86-028-8898 8888</p>
					<p>传真：86-028-8728 8222</p>
					<p>邮箱：info@hojoqc.com</p>
				</div>
			</div>
		</div>
		<?php echo $content; ?>
		<div class="fl kf-right">
			<div>
				<h1>&nbsp;&nbsp;特别优惠</h1>
			</div>
			<?php 
				foreach ($favs as $key => $value) {
					echo '<div class="mt10"> ';
					echo '<a url='.$value["url"].'&id='.$value["owner_menu_id"].' href="'.$value["url"].'&id='.$value["owner_menu_id"].'&c='.$key.'" style="color:#000">';
					echo '<img src="'.$value["image"].'" />';
					echo '<p class="fwb">'.$value["title"].'</p>';
					echo '<p>'.$value["content"].'</p>';
					echo '</a></div>';
				}
			?>
		</div>
	</div>
</div>
<!--页面主体结束--> 
<?php $this->endContent(); ?>